package com.ruoyi.xzs.service;

import java.util.List;
import com.ruoyi.xzs.domain.QuestionAnswer;

/**
 * questionAnswerService接口
 * 
 * @author li
 * @date 2023-03-09
 */
public interface IQuestionAnswerService 
{
    /**
     * 查询questionAnswer
     * 
     * @param id questionAnswer主键
     * @return questionAnswer
     */
    public QuestionAnswer selectQuestionAnswerById(Long id);

    /**
     * 查询questionAnswer列表
     * 
     * @param questionAnswer questionAnswer
     * @return questionAnswer集合
     */
    public List<QuestionAnswer> selectQuestionAnswerList(QuestionAnswer questionAnswer);

    /**
     * 新增questionAnswer
     * 
     * @param questionAnswer questionAnswer
     * @return 结果
     */
    public int insertQuestionAnswer(QuestionAnswer questionAnswer);

    /**
     * 修改questionAnswer
     * 
     * @param questionAnswer questionAnswer
     * @return 结果
     */
    public int updateQuestionAnswer(QuestionAnswer questionAnswer);

    /**
     * 批量删除questionAnswer
     * 
     * @param ids 需要删除的questionAnswer主键集合
     * @return 结果
     */
    public int deleteQuestionAnswerByIds(Long[] ids);

    /**
     * 删除questionAnswer信息
     * 
     * @param id questionAnswer主键
     * @return 结果
     */
    public int deleteQuestionAnswerById(Long id);
}
